<php>
//获取文件列表
$user_ids = explode(',', $user_value ? $user_value : $info[$user_field]);
if(!empty($user_ids)){
	$where['user_id'] = array('in', $user_ids);
	$user_list = D('User')->where($where)->select();
}
$is_show_btn = true;
if(!$is_mulit && $user_list){
	$is_show_btn = false;
}
</php>
<div class="mod_data {$user_field}-user-select-box">
	<div class="name">{$show_name}</div>
	<div class="input_data">
		<span class="btn btn-select win select-user" href="{:U('User/win_select_user')}?type={$user_type}&user_field={$user_field}&is_mulit={$is_mulit}" style="margin-bottom: 8px;<eq name='is_show_btn' value='0'>display:none;</eq>">选择{$show_name}</span>
		<ul class="city_id_list" <empty name="user_list">style="display:none"</empty>>
			<input type="hidden" name="{$user_field}[]" value="0">
			<volist name="user_list" id="rs">
			<li>
				{$rs['realname'] ? $rs['realname'] : $rs['user_id']} ({$rs['mobile']})
				<input type="hidden" name="{$user_field}[]" value="{$rs['user_id']}">			
				<span class="delete-select-user" user-field="{$user_field}" is-mulit="{$is_mulit}">X</span>
			</li>
			</volist>
		</ul>
	</div>
</div>